Access control framework for information centric networking

ABSTRACT

One embodiment provides an access-control framework for publishing and obtaining a collection of encrypted data in encrypted form. During operation, a content consumer can obtain a Manifest object for a data collection, such that the Manifest includes references to a set of encrypted Content Objects of the data collection, and includes one or more Access Control Specifications (ACS) that each specifies a decryption protocol for decrypting one or more Content Objects of the data collection. The consumer can disseminate Interest messages to receive encrypted Content Objects listed in the Manifest over an Information Centric Network (ICN). The client can also obtain, from the Manifest, an ACS associated with a respective encrypted Content Object, and decrypts the respective encrypted Content Object using the decryption protocol specified in the ACS.

BACKGROUND

1. Field

This disclosure is generally related to Information Centric Networks. More specifically, this disclosure is related to an access control framework for publishing and accessing encrypted data.

2. Related Art

Information-centric networking architectures (ICNs) are quickly becoming an attracting alternative to the current host-to-host design Internet design in both research and industrial communities. Several novel networking architectures have been recently proposed as instances of the ICN. The most common and fundamental features of these ICN architectures include interest-based content retrieval, content oriented routing, and in-network caching. Interest-based content retrieval and content oriented routing allow users to acquire content from the network via explicit queries for uniquely named content, rather than by establishing point-to-point connection with a target computer that can serve the content. In-network caching permits a router to cache content for predetermined lengths of time such that subsequent requests for content of the same name can be satisfied via the cache, rather than by forwarding the request upstream to a network endpoint identified by the request.

Due to in-network caching, ICN content objects may not always arrive from their original producer. However, if the cached content was encrypted for a given consumer, it is not possible for other consumers to decrypt the content even though they're authorized to access the content. Therefore, ICN architectures typically require requests for encrypted content to be forwarded directly to the content producer so that each consumer can receive a copy of the content which has been encrypted using the consumer's public key. Unfortunately, requiring ICN nodes to forward requests to the content producer does not allow the consumer and publisher to benefit from in-network caching, which can result in slow response times for the consumer and undesirably large request loads for the content producer.

SUMMARY

One embodiment provides a client of an access-control framework that can receive and decrypt a collection of encrypted data based on a publisher's access control specification (ACS). During operation, the client can obtain a Manifest object for a data collection, such that the Manifest includes references to a set of encrypted Content Objects of the data collection, and includes one or more Access Control Specifications (ACS) that each specifies a decryption protocol for decrypting one or more Content Objects of the data collection. The client obtains a respective encrypted Content Object listed in the Manifest over an Information Centric Network (ICN). The client also obtains, from the Manifest, an ACS associated with the respective encrypted Content Object, and decrypts the respective encrypted Content Object using the decryption protocol specified in the ACS.

In information centric networks (ICN), each piece of content is individually named, and each piece of data is bound to a unique name that distinguishes the data from any other piece of data, such as other versions of the same data or data from other sources. This unique name allows a network device to request the data by disseminating a request or an Interest that indicates the unique name, and can obtain the data independent from the data's storage location, network location, application, and means of transportation. Named-data network (NDN) or a content-centric network (CCN) are examples of ICN architecture; the following terms describe elements of an NDN or CCN architecture:

Content Object:

A single piece of named data, which is bound to a unique name. Content Objects are “persistent,” which means that a Content Object can move around within a computing device, or across different computing devices, but does not change. If any component of the Content Object changes, the entity that made the change creates a new Content Object that includes the updated content, and binds the new Content Object to a new unique name.

Unique Names:

A name in a CCN is typically location independent and uniquely identifies a Content Object. A data-forwarding device can use the name or name prefix to forward a packet toward a network node that generates or stores the Content Object, regardless of a network address or physical location for the Content Object. In some embodiments, the name may be a hierarchically structured variable-length identifier (HSVLI). The HSVLI can be divided into several hierarchical components, which can be structured in various ways. For example, the individual name components parc, home, ndn, and test.txt can be structured in a left-oriented prefix-major fashion to form the name “/parc/home/ndn/test.txt.” Thus, the name “/parc/home/ndn” can be a “parent” or “prefix” of “/parc/home/ndn/test.txt.” Additional components can be used to distinguish between different versions of the content item, such as a collaborative document.

In some embodiments, the name can include an identifier, such as a hash value that is derived from the Content Object's data (e.g., a checksum value) and/or from elements of the Content Object's name. A description of a hash-based name is described in U.S. patent application Ser. No. 13/847,814 (entitled “ORDERED-ELEMENT NAMING FOR NAME-BASED PACKET FORWARDING,” by inventor Ignacio Solis, filed 20 Mar. 2013), which is hereby incorporated by reference. A name can also be a flat label. Hereinafter, “name” is used to refer to any name for a piece of data in a name-data network, such as a hierarchical name or name prefix, a flat name, a fixed-length name, an arbitrary-length name, or a label (e.g., a Multiprotocol Label Switching (MPLS) label).

Interest:

A packet that indicates a request for a piece of data, and includes a name (or a name prefix) for the piece of data. A data consumer can disseminate a request or Interest across an information-centric network, which CCN/NDN routers can propagate toward a storage device (e.g., a cache server) or a data producer that can provide the requested data to satisfy the request or Interest.

In some embodiments, the ICN system can include a content-centric networking (CCN) architecture. However, the methods disclosed herein are also applicable to other ICN architectures as well. A description of a CCN architecture is described in U.S. patent application Ser. No. 12/338,175 (entitled “CONTROLLING THE SPREAD OF INTERESTS AND CONTENT IN A CONTENT CENTRIC NETWORK,” by inventors Van L. Jacobson and Diana K. Smetters, filed 18 Dec. 2008), which is hereby incorporated by reference.

In some embodiments, the client can disseminate an Interest for the data collection over ICN, and responsive to disseminating the Interest, receives the Manifest object over ICN.

In some embodiments, the Manifest includes a respective ACS by reference. Also, while obtaining the ACS, the client can obtain, from the Manifest, a name prefix associated with the ACS, and disseminates over, the ICN, an Interest whose name includes the name prefix. Then, responsive to disseminating the Interest, the client receives a Content Object that includes the ACS.

In some embodiments, while decrypting the encrypted Content Object, the client obtains an encrypted key that corresponds to the encrypted Content Object, and obtains a decapsulation key by performing the decryption protocol specified in the ACS. The client then decrypts the encrypted key, using the decapsulation key, to obtain a decryption key, and decrypts the encrypted Content Object using the decryption key.

In some embodiments, while obtaining the decapsulation key, the client obtains a decapsulation-key name which identifies the decapsulation key, and follows a keychain until a key node identified by the decapsulation-key name is reached. A respective key node of the keychain includes a decryption key in encrypted form, and the decryption key is capable of decrypting a decryption key of a next key node of the keychain. The client then obtains the decapsulation key from the identified key node.

In some embodiments, the decryption keys are encrypted using a group-based encryption scheme, and/or a broadcast encryption scheme.

One embodiment provides a client device that uses an Access Control Specification (ACS) to establish a secure end-to-end communication channel with a publisher. During operation, the client can obtain an initiation Manifest object for a data collection. The initiation Manifest includes the ACS that specifies an end-to-end access control scheme for obtaining and decrypting one or more Content Objects of the data collection. The client obtains, a public key of a publisher from the ACS in the initiation Manifest, and determines, from the ACS, an encryption algorithm for a session with the publisher.

The client then disseminates a setup Interest message for the publisher, such that the setup Interest message includes a temporary key encrypted using the determined encryption algorithm and the publisher's public key. In response to disseminating the setup Interest message, the client receives a setup Content Object that satisfies the setup Interest message, such that the setup Content Object includes a session key and a session identifier. The client then disseminates a finish Interest message that includes the session identifier for the publisher, and in response, receives an in-session Manifest that satisfies the finish Interest message. The in-session Manifest includes references to one or more Content Objects of the data collection that are encrypted using the session key.

In some embodiments, the client obtains verification data from the setup Content Object, and verifies the session key using the verification data. Then, in response to determining that the session key is valid, the client proceeds to disseminate the finish Interest message to establish the secure communication channel.

In some embodiments, while verifying the session key, the client computes a hash from one or more of the session key, a key identifier, and an identifier for the determined encryption algorithm. The client than compares the computed hash to the verification data to determine whether the session key is valid.

In some embodiments, the client can obtain a respective Content Object listed in the in-session Manifest over an Information Centric Network (ICN), and decrypting the respective Content Object using the session key.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 presents an exemplary network environment that facilitates publishing and accessing a collection of data in encrypted form in accordance with an embodiment.

FIG. 2A illustrates an exemplary CCN Message in accordance with an embodiment.

FIG. 2B illustrates exemplary Metadata for a CCN Interest message in accordance with an embodiment.

FIG. 2C illustrates exemplary Metadata for a CCN Content Object in accordance with an embodiment.

FIG. 3A illustrates an exemplary Manifest in accordance with an embodiment.

FIG. 3B illustrates an exemplary ListOfNames section and an exemplary ListOfHashes section in accordance with an embodiment.

FIG. 4 illustrates an exemplary Access Control Specification (ACS) 400 in accordance with an embodiment.

FIG. 5 presents a flow chart illustrating a method for obtaining and decrypting a data collection based on an Access Control Specification in accordance with an embodiment.

FIG. 6 presents a flow chart illustrating a method for using an ACS to decrypt Content Objects listed in a Manifest in accordance with an embodiment.

FIG. 7 presents a flow chart illustrating a method for using a keychain specified in the ACS to decrypt Content Objects of a data collection in accordance with an embodiment.

FIG. 8 presents a flow chart illustrating a method for establishing a secure end-to-end session based on an ACS in a Manifest in accordance with an embodiment.

FIG. 9 illustrates an exemplary transport framework in accordance with embodiments of the present invention.

FIG. 10 illustrates an exemplary apparatus that facilitates publishing and accessing a collection of data in encrypted form in accordance with an embodiment.

FIG. 11 illustrates an exemplary computer system that facilitates publishing and accessing a collection of data in encrypted form in accordance with an embodiment.

In the figures, like reference numerals refer to the same figure elements.

DETAILED DESCRIPTION

The following description is presented to enable any person skilled in the art to make and use the embodiments, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present disclosure. Thus, the present invention is not limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

Overview

Embodiments of the present invention provide an access-control framework that solve the problem of publishing a collection of data over an Information Centric Network (ICN) or a Content Centric Network (CCN) in encrypted form. Specifically, the access control framework allows publishers to use Manifests to publish their content using encrypted Content Objects, and to specify which access control scheme can be used to decrypt and access the content.

For example, in some embodiments, the Manifest can specify a name to an encrypted decryption key for the content, and can specify an access control scheme for obtaining a decapsulation key for the decryption key. Only clients that are allowed access to the content are allowed to obtain the decapsulation key. Alternatively, the Manifest can specify an access-control scheme that allows the client to obtain the encrypted content and a decryption key directly from the publisher, or from a content producer on the publisher's behalf.

Hence, the access control framework can be used to publish content of any type, using any access control scheme. Rather than requiring each publisher to implement their own form of application-specific access control specification and enforcement mechanisms, a publisher can use the access control framework to publish encrypted content using their access control scheme of choice.

In the access control framework, Manifests include access control specifications and key-chains that decouple encrypted content from the access control and decryption information. Moreover, key-chains can themselves be realized using manifests that contain a list of decryption keys necessary to access content protected under arbitrary group-based hierarchies. The keys themselves are based on principals in order to realize fine-grained access control schemes, where a principal is an individual user or a group of principals. A description of Manifests is described in U.S. patent application Ser. No. 14/337,026 (Atty. Docket No. PARC-20140480US01, entitled “System for Distributing Nameless Objects using Self-Certifying Names,” by inventor Marc E. Mosko, filed 21 Jul. 2014), which is hereby incorporated by reference.

In some embodiments, the access control framework can realize at least three types of access control schemes over ICN: a group-based access control scheme, a broadcast access control scheme, and an end-to-end secure communication that provides an ICN variation to TLS. Embodiments of the present invention also provide an ICN application programming interface (API) that producers can use to publish encrypted content, and that consumers can use to access the encrypted content.

Exemplary Network Environment

FIG. 1 presents an exemplary network environment 100 that facilitates publishing and accessing a collection of data in encrypted form in accordance with an embodiment. Specifically, network environment 100 can include a Content Centric Network (CCN) 102, a content producer 108, a content publisher 110, a client 112 (e.g., a content consumer), and a content centric network 102. CCN 102 (or an information-centric network) can include a plurality of edge nodes 104 and routing nodes 106.

For example, a video-streaming service can deploy a content producer 110 that is accessible via CCN 102. Content producer 110 can include a server computer or a computer cluster that interfaces with edge node 104.2 of network 102. Content producer 110 can generate arbitrary content, such as a photo, a video, sensor-collected data, etc. Content producer 110 may or may not host content locally, but can partner with content publisher 110 to publish its content on behalf of content producer 108.

Publisher 110 can convert data from content producer 108 to a collection of Content Objects (or any form of Named Data object, or NDO) that carry chunks of the data, which are named objects with an associated cryptographic signature. Publisher 110 can publish these NDOs via their name over CCN 102, and forwarders 104 and 106 of CCN 102 can forward NDO requests through network 102 from client 112 to publisher 110.

Forwarders include at least two primary elements: a forwarding information base (FIB) and a pending interest table (PIT). The forwarder can use the FIB to route an incoming Interest message via an output interface toward a content producer or publisher that can satisfy the Interest. In some embodiments, the forwarder can populate the FIB using standard routing protocols or static routes, and matches an Interest name to a FIB entry using longest prefix match. A routing protocol can asynchronously populate the FIB based on the location of published NDOs.

The forwarder can use the PIT to cache a state of pending Interest messages, and an interface from which each Interest message was received. When the forwarder receives a Content Object, the forwarder can perform a longest prefix matching lookup operation on the PIT to identify a matching PIT entry, and uses the matching PIT entry's interface to return the Content Object along a reverse Interest path back to the client that disseminated the corresponding Interest.

In some embodiments, some forwarders can also include a Content Store (CS) that caches Content Objects. For example, forwarder nodes 104 may correspond to edge nodes that provide other computers or networks access to CCN 102. Hence, forwarder nodes 104 may receive Interest messages from client devices, and can cache Content Objects on behalf of content producer 108 and/or content publisher 110. When edge nodes 104 receive an Interest, they may perform an initial longest matching prefix lookup operation on the CS to search for a matching cached Content Object that can satisfy the Interest. If a matching cached Content Object is not found, edge nodes 104 may proceed to forward the Interest over CCN 102 (e.g., based on a matching FIB entry). Hence, the distributed Content Stores over CCN 102 can reduce Content Object retrieval latency over CCN 102.

For example, content producer 108 can include a media-streaming service (e.g., the Netflix media streaming service from Netflix, Inc., of Los Gatos, Calif.) that partners with content publisher 110 to disseminate protected content over CCN in encrypted form, and allows Content Stores across CCN edge nodes 104.1 to cache the encrypted content. Content producer 108 can use the access-control framework to retain control over which entities can consume the content by only allowing paid subscribers to decrypt the content. Hence, content producer 108 can allow the subscribers of the media-streaming service to be able to access the content, but does not require them to obtain the content directly from content producer 108 or content publisher 110.

However, content producer 108 may want to prevent unsubscribed users or a malicious entity to gain access to its cached content. In some embodiments, content producer 108 can encrypt the content (e.g., media stream segments) and the content's encryption key prior to returning the content to a client 112 that requested the content. This content and its decryption key can then be cached at Content Stores along a return path to client 112. Then, if another client requests the content, this other client can obtain the encrypted content from the Content Store, and only subscribed users are able to decrypt the decryption key and the content.

To achieve this, content producer 108 provides a Manifest that includes a link to the content's segments and the decryption key to users that are paid subscribers. The Manifest also includes an Access Control Specification (ACS) that specifies which access-control scheme is being used to protect the content, such as a variation of a broadcast-based encryption, a session-based encryption, a group-based encryption, or any other encryption protocol now known or later developed. This ACS can specify the encryption/decryption algorithm for the collection, how to obtain the decryption key for the collection, etc. Hence, content producer 108 does not need to disseminate an access control scheme for each Content Object in the collection. Rather, the Manifest for the collection can specify the necessary information for controlling access to each Content Object or stream segment in the collection.

In a session-based encryption scheme, for example, client 112 can decrypt the content using a personal decryption key for as long as the current session is active with publisher 110, or in some variations, for as long as the client device's user is a valid subscriber of content producer 108. The session-based encryption protocol can encrypt content or its decryption key using a symmetric key specific to the user session. When client 112 establishes a session with content publisher 110 (e.g., when issuing a request for a piece of content), content publisher 110 can return a Manifest that includes a list of media stream segments that are encrypted using the session key, or includes a decryption key (encrypted using the session key) that client 112 can use to decrypt cached media stream segments. Then, after using the content's decryption key, client 112 can obtain and decrypt the media stream segments of the requested content from any Content Store or server of CCN 102 that hosts the content segments.

In some embodiments, the access-control framework can support arbitrary types of encryption that are appropriate for different access control policies, and retains the efficiency of CCN content retrieval by using in-network caches for caching and retrieving encrypted content. For example, a key manager (not shown) can issue a symmetric key for content encryption, and can issue a public-private key pair for encrypting the symmetric key. When content producer 108 generates content (e.g., either on-demand or by reading data from persistent storage), content producer 108 sends the content to content publisher 110 that encrypts the content chunks using the symmetric key, and publishes the encrypted Content Objects over CCN 102. An access policy manager of content producer 108 can encrypt the symmetric key under a given user's public key, and publishes the encrypted symmetric key over the network as well. Any Content Store along CCN 102 can cache the encrypted content or encrypted symmetric key once they are published over CCN 102.

In some embodiments, a user's client device 112 can obtain his public-private key pair through a secure channel with content producer 108. Also, client 112 can obtain the encrypted content and symmetric key over CCN 102 (e.g., from publisher 110 or a Content Store at a CCN forwarder node) by disseminating an Interest over CCN 102, and decrypts the symmetric key if it has a valid key from producer 108. After decrypting the symmetric key, client 112 can use the symmetric key to decrypt the content. While this example consists of multiple entities working in a decentralized manner, in some embodiments, two or more of these entities could be collocated on a single machine or distributed across different network nodes across CCN 102.

The access control framework implements cryptographic access control using hybrid encryption to secure data. Specifically, Content Objects are encrypted under a cryptographically random symmetric key, called the nonce key. The nonce key is then encrypted under another encryption algorithm that is appropriate for the content producer's desired form of access control (e.g., broadcast encryption, attribute-based encryption, RSA, identity-based proxy re-encryption, etc.). Nonce keys are encrypted for principals, which can be individual consumers or groups of individuals.

The individual Content Objects that are listed in the Manifest are encrypted under a nonce key by a predetermined encryption algorithm, such as AES-256-CTR. The Manifest comprises a ListOfNames field that includes the names of the encrypted Content Objects, and comprises a ListOfHashes field that includes hash values of the encrypted Content Objects. Hence, a client that obtains the Manifest can disseminate Interests for groups of encrypted Content Objects sequentially or simultaneously. The ACS field of the Manifest provides the required information to decrypt the encrypted Content Objects, such as the name of the (encrypted) nonce key, parameters of encryption algorithms, etc.

The access control framework encrypts the nonce key by another predetermined encryption algorithm that is appropriate to realize the content producer's desired access control structure. The key that can decrypt the encrypted nonce key is hereinafter referred to as the decapsulation key. The decapsulation key is itself encrypted such that only authorized principals (e.g., principals in possession of or having access to the appropriate private decryption key) can decrypt the decapsulation key.

For example, the content producer can assign to each principal i a public-private key pair (PK_(i), SK_(i)), such that individual clients initially have their own principal key pairs. The encryption of SK_(i) by a public key cryptographic algorithm under PK_(j) is denoted by EncPKC(SK_(i), PK_(j)). Hence, when the principal group X is authorized, the decapsulation key DKX to X is encrypted as EncX(DK_(X),PK_(X)). A User “A” can then obtain the decapsulation key DK_(X) by retrieving the cyphertexts Enc(SK_(X),PK_(A)) and Enc(DK_(X), PK_(X)) using only their own private key SK_(A).

In some embodiments, the set of principal keys may be part of the private key set or keychain. For example, a principal keychain hierarchy may be rooted at a main private key, which is used to decrypt the decapsulation key, with a path to a qualified leaf principal i. If a principal j is a member of the principal group i, then the encrypted private key of principal i may be included in the set of private keys. This enables principal j to use its private key to obtain the private key of principal i, which is then used to sequentially decrypt other private keys in the hierarchy all the way to the main private key root. Again, this root private key is then used to decrypt the decapsulation key. This separation between the decapsulation and principal keys allows principal keys to be distributed offline or obtained out-of-band. Furthermore, the private key set is flexible enough to enable sophisticated access control group hierarchies for any principal.

CCN Messages

FIG. 2A illustrates an exemplary CCN Message 200 in accordance with an embodiment. CCN Message 200 can be used to generate any type of network message over CCN, such as an Interest, a Content Object, or a Manifest. In some embodiments, Manifests are themselves implemented as a type of Content Object.

CCN Message 200 can include a message header, validation data, and a CCNMessage field 206. The message header can include a FixedHeader field 202, and an OptionalHeader field 204, each of which can provide information about the message structures and forwarding information. CCNMessage field 206 provides the message body, which includes a name 212, metadata 214, and a payload 216 (for both Interest and Content Object messages). Moreover, the validation data can include a ValidationAlgorithm field 208 and a ValidationPayload field 210. ValidationAlgorithm field 208 can include a digital signature validation information (e.g., the signature algorithm, a validation algorithm CRC32C, an RSA signature, etc.). ValidationPayload field 210 can include the signature data itself.

CCN Interests and Content Objects are two types of CCN Messages, but they are processed in different ways by CCN network nodes. A Content Object is a Named Data Object (NDO) whose payload field 216 includes published content, which can be located and authenticated by its location-independent CCN name. An Interest, on the other hand, is a message issued by a content consumer (e.g., a client) to request an NDO Content Object. An Interest's name field 212 can include the name of the desired content, and payload field 216 can include any additional information relevant to the request. Moreover, metadata field 214 of Interest and Content Object messages can contain different data that guides how the Interest or Content Object is processed.

FIG. 2B illustrates exemplary Metadata 250 for a CCN Interest message in accordance with an embodiment. Metadata 250 can include a KeyIdRestriction field 252, an InterestLifetime field 254, a ContentObjectHashRestriction field 256, and additional Metadata fields 258.

KeyId field 252 and ContentobjectHashRestriction field 256 allow an Interest message to specify restrictions that control how a Content Object is matched to the Interest. For example, the KeyId limits the match to a specific publisher by checking the key ID used to sign the Content Object, where the KeyID value is stored in the ValidationPayload field of the Content Object. Also, the ContentObjectHashRestriction field 256 restricts the valid matching Content Objects to those whose self-certified name matches the value of ContentObjectHashRestriction field 256. In some embodiments, the self-certified name can include an SHA-256 hash of the CCNMessage field, ValidationAlgorithm field, and ValidationPayload field.

Additional Metadata fields 258 can include additional information that content producers can use to generate dynamic content. In some embodiments, forwarders across CCN do not store data in additional Metadata fields 258 within their local PIT.

FIG. 2C illustrates exemplary Metadata 270 for a CCN Content Object in accordance with an embodiment. Metadata 270 can include a ContentType field 272 that specifies the type of content carried by the Content Object, such as a Manifest, text, image, binary large object (blob), etc. Metadata 270 can also include a PublishTime field 274 that specifies a time and date when the payload's data was published, a CreationTime field 276 that specifies when the Content Objet was created, and an ExpirationTime field 278 which specifies when the Content Object's data expires. Moreover, Metadata 270 can include additional Metadata fields 280, which can include any metadata about the Content Object or the payload which does not govern how the Content Object is forwarded along a network.

Manifests and Access Control Specification (ACS)

A Manifest can include an ACS that specifies the encryption algorithm used to encrypt a piece of content. For example, the piece of content can be encrypted using an AES key, which can include a nonce key that is randomly generated. The encrypted content can then be distributed over the network, and authorized clients can access the encrypted nonce key by using a decryption algorithm specified in the ACS to decrypt the nonce key. Once a client decrypts the nonce key, the client can use the nonce key to decrypt the encrypted content.

In some embodiments, a Manifest can list a set of Content Objects that are encrypted using a non-homogenous set of encryption schemes. The Manifest can include multiple ACS objects, such that each ACS can be used to decrypt a different subset of the Manifest's Content Objects. In some embodiments, each Content Object entry in the Manifest can specify a reference to an ACS in the Manifest. Alternatively, each ACS can identify which Content Objects can be decrypted via the decryption scheme specified in the ACS. For example, each ACS can map to a group of Content Objects (e.g., identified by a name prefix of the Content Object). As another example, each ACS and Content Object entry can include a scheme identifier that binds an ACS decryption scheme and one or more Content Objects together.

FIG. 3A illustrates an exemplary Manifest 300 in accordance with an embodiment. Manifest 300 can include a Name field 302, a Metadata field 304, and a Payload field 306. Name field 302 can specify a name for Manifest 300, such as a name for a protected collection of data. This protected collection of data can include encrypted Content Objects, encrypted decryption keys, and one or more ACS objects that specify how a client can obtain the data collection. Hence, metadata 304 can include information about Metadata 300 itself, and payload 306 can include information about the Content Objects, keys, and ACS objects.

As previously mentioned, Manifest 300 is defined as a type of Content Object. Hence, Metadata 308 of Manifest 300 can include a ContentType field 310 with the value “Manifest.” Metadata 308 can also include other Content Object metadata fields, such as a publish time field 312, a creation time field 314, an expiration time field 316, and an additional metadata section 318.

Payload 306 of Manifest 300 includes information for a logical collection of Content Objects. In some embodiments, payload 306 describes the logical collection by including metadata information on the Content Objects of the collection, and including an ordered list for the hash-based names of the constituent Content Objects of the collection. This format enables clients to issue Interests with self-certifying names for the individual Content Objects listed in payload 306.

For example, payload 306 can include one or more payload sections 320, and each payload section 320 can include a ListOfNames field 324 and a ListOfHashes field 326 that together provide the ordered names of the Content Objects in the collection. ListOfNames field 324 can include CCN names for one or more Content Objects, and ListOfHashes field 326 can include Content Object Hash values (e.g., self-certifying names) for the one or more Content Objects.

Payload section 320 can also include an ACS field 322. If an ACS field exists in ACS field 322, the ACS provides access control information to at least a subset of the Content Objects listed in the same section 320. The ACS can include information necessary to obtain and decrypt a nonce key, and to obtain access to encrypted Content Objects. In some embodiments, Payload section 320 can include an ACS object, or a reference to the ACS object. For example, payload 306 can include an ACS link, such as a CCN name to a Content Object that includes the actual ACS object. This allows Manifest 300 to include multiple complex ACS objects, without consuming a significant amount of data in payload 306.

Moreover, Manifest 300 can include or reference multiple ACS objects, such that each ACS can correspond to a subset of Content Objects listed in Manifest 300. For example, Manifest Payload 306 can include multiple Payload sections 320 (e.g., the illustrated asterisk designates that zero or more instances may exist), such that each Payload section 320 includes (or references) an ACS and its corresponding subset of Content Objects. Hence, Manifest Metadata 308 can include multiple ListOfNames and multiple ListOfHashes fields, one list per ACS.

As an alternative implementation, Manifest Metadata 308 can include one ListOfNames section 324, one ListOfHashes section 326, and one ACS section 322 that includes multiple ACS entries. Each ACS in section 322 can have an associated ACS identifier, and each name or hash entry of section 324 or section 326 has an associated ACS identifier which specifies which ACS corresponds to the name or hash entry. Thus, when fetching a Content Object referenced in ListOfNames 324, the client can use the corresponding ACS identifier to obtain the corresponding ACS listed ACS section 322.

FIG. 3B illustrates an exemplary ListOfNames section 350 and an exemplary ListOfHashes section 360 in accordance with an embodiment. ListOfNames field 350 includes a list of one or more NameEntry sections 352. A NameEntry section 352 includes a MediaName field 356 that specifies a content name prefix for a piece of data, and can include a StartChunk field 354 that specifies a first chunk number for the piece of data (if the data is partition into a collection of chunks). ListOfHashes field 360 can include a list of one or more HashEntry sections 362. A HashEntry section 362 can include a NameIndex field 364 that identifies a Content Object by a number that corresponds to an entry of the ListOfNames field 350, and includes a Hash field 366 that includes a Content Object Hash (COH) value for the Content Object.

For example, consider a ListOfNames 350 whose first NameEntry section (identified by the NameIndex identifier ‘1’) includes:

-   -   IStartChunk=3, MediaName=lci:/parc/obj,         and consider a ListOfHashes section 360 whose first and second         entries include:     -   {NameIndex=1, Hash=0x123}; and     -   {NameIndex=1, Hash=0xABC}.         Hence, an individual NameEntry section 352 in ListOfNames 350         can correspond to multiple Content Objects (each Content Object         carries a different chunk). Also, the first two HashEntry         sections of ListOfHashes 360 can correspond to two chunks         associated with the NameEntry. The first HashEntry represents a         Content Object for a chunk with a name lci:/parc/obj/chunk=3 and         a hash digest 0x123, and the second HashEntry represents a         Content Object for a chunk with a name lci:/parc/obj/chunk=4 and         a hash digest 0xABC.

Hence, Manifests can reduce the overhead involved in retrieving fragmented data, and can allow a content producer or content consumer to avoid having to individually sign or verify each individual Content Object in a collection. For example, a client can use the ListOfNames and ListOfHashes entries to obtain each individual Content Object via an Interest with a self-certifying name, and can verify the Content Objects it receives by performing a binary equality check between the hash digests computed from the received Content Objects and their corresponding HashEntry sections. The client only needs to perform one cryptographic verification operation for each Manifest to verify the collection of Content Objects listed in the Manifest.

In some embodiments, a set of Manifests can be organized into a Manifest tree, where the name of a component Content Object within one Manifest is itself the name of another Manifest (e.g., a child Manifest). If the content consumer can verify the signature of the root Manifest is and trusts the associated key, then the content consumer can also trust other Content Objects and Manifests that are included (directly or indirectly) in the root Manifest and that are trusted by the nature of their self-certifying names (e.g., COH values). This lets the content consumer to avoid having to perform cryptographic validation on these referenced Content Objects and Manifests that can be validated by their self-certifying names.

FIG. 4 illustrates an exemplary Access Control Specification (ACS) 400 in accordance with an embodiment. ACS 400 can include an AccessControlConfiguration field 402 and an EncryptionAlgorithm field 404. EncryptionAlgorithm field 404 specifies an encryption/decryption algorithm that was used to secure the collection data, and parameters for the encryption/decryption algorithm are used to encrypt the content objects listed in the manifest. For example, when using JavaScript Object Notation (JSON), the EncryptionAlgorithm value is encoded as:

-   -   {{encryptionAlgorithm: AES-128-CTR, initialCounter: ***} }.

AccessControlConfiguration field 402 describes the information necessary to execute the decryption algorithm specified in EncryptionAlgorithm field 404. Specifically, AccessControlConfiguration 402 includes an Access Control field 406 that specifies the type of access control scheme that handles the symmetric key used in EncryptionAlgorithm field 404. For example, when encoded using JSON, AccessControl field 406 can include:

-   -   {type: NonceKey, encapsulationAlgorithm: Naor-Pinkas-BE, . . .         },         where “type: NonceKey” indicates that access control to the         content objects is to be performed through the encapsulation of         the nonce key, and “encapsulationAlgorithm: Naor-Pinkas-BE”         indicates that the Noar-Pinkas broadcast encryption algorithm is         to be used to encapsulate the nonce key.

Note that if the encapsulationAlgorithm is specified in the AccessControlConfiguration field 402, then the algorithm applies to all nodes in the principal key-chain hierarchy. Also, if the access control policy does not include performing encapsulation of the nonce key, the “type” can specify another method for performing access control. When the client initiates a decryption operation to decrypt Content Objects, the client read AccessControl field 406 to determine which types of cryptographic primitives are required.

AccessControlConfiguration field 402 can also include a NonceKeyName field 408 and a NonceKeyID field 410 that a client can use to generate an Interest for obtaining an encrypted nonce key. NonceKeyName field 408 specifies a CCN name of the encapsulated nonce key. The client can use this CCN name to generate and disseminate an Interest for the decapsulation key(s). In some embodiments, NonceKeyName field 408 can include aliases, which are variables of name components used to represent state-dependent names in NonceKeyName field 408. For example, consider the CCN name:

-   -   “lci:/parc/obj/noncekey/<principal private key hash>”         where <principal private key hash> includes an alias of a         principal-specific value (e.g., a hash value of a qualified         principal's private key). A client can use the alias in         NonceKeyName field 408 to query the nonce key encrypted with         principal-specific values, where the required types of         principal-specific values are described by the aliases         themselves and/or by AccessControl field 406.

NonceKeyId field 410 specifies the hash value of the (non-encrypted) nonce key. This enables one to easily verify the integrity of the decrypted nonce key. In some embodiments, using a proper collision-resistant hash function (e.g., SHA-256) preserves the integrity and security of the nonce key (with collisions occurring with only negligible probability), since the digest is included in the Manifest digital signature input that is verified before NonceKeyId field 410 is checked.

Also, once the client obtains the encrypted nonce key (e.g., using NonceKeyName field 408), the client can read KeychainLink field 412 and DecapsulationKeyLink field 414 (which can store a name or hash value for the keychain and for a decapsulation key) to follow a chain of encrypted key nodes until the desired nonce key is obtained. KeychainLink field 412 can specify a link to another Manifest (or Manifest hierarchy) called a key-chain. The “link” can include a Name field 418 that specifies the Manifest's name, and can include a KeyIdRestriction field 420 that includes at least the Manifest signer's key identifier (e.g., a KeyId to the Content Object of key-chain).

The keychain can correspond to an ordered list of principal private keys (e.g., encrypted keys) necessary to decrypt the decapsulation key for a piece of content. When the keychain is encapsulated in a Manifest (hereinafter referred to as a keychain Manifest), the client can retrieve the keys of the keychain (e.g., in parallel) that necessary to decrypt the decapsulation key by parsing the keychain Manifest's name/hash lists. The KeychainLink fields in the keychain Manifest can also have aliases to provide a keychain personalized to a given user.

Note that the ACS field of the keychain Manifest can specify the EncryptionAlgorithm field for each of the principal key-chain hierarchy nodes when the keychain Manifest does not specify the encapsulationAlgorithm field of the primary Manifest. For example, if a keychain contains three keys, then the ACS of the keychain has three ordered encapsulationAlgorithm fields in the EncryptionAlgorithm field 404 of the ACS. Alternatively, the type of algorithm may be included in the key Content Objects that are returned from the keychain.

DecapsulationKeyLink field 414 can specify a link to the encrypted decapsulation key. For example, the link can include a Name field 422 that specifies the encrypted decapsulation key's name, and a KeyIdRestriction field 424 that specifies the signer's key ID (e.g., a KeyId to the Content Object of the decapsulation key). The encrypted decapsulation key's name can include aliases to assign a decapsulation key personalized to each qualified principal. Note the client may avoid retrieving and traversing the key-chain when the client already stores the decapsulation key, and successfully validates the decapsulation key.

In some embodiments, the client can obtain the first key node in the chain using KeychainLink 412 of ACS 400, and decrypts the first key node using a local decryption key to obtain another KeychainLink and decryption key to a second key node in the chain. The client eventually reaches an encrypted key node identified by DecapsulationKeyLink 414. This encrypted key node identified by DecapsulationKeyLink 414 is the last node in the keychain, and includes a “decapsulation key” that can be used to decrypt the target nonce key. The client decrypts this last key node in the keychain to obtain the decapsulation key, and uses the decapsulation key to decrypt the encrypted nonce key that the client has obtained. Once the client obtains the decrypted nonce key, the client can use this nonce key to decrypt all or a subset of the Content Objects listed in the Manifest.

In some embodiments, Access Control Configuration 402 can include a set of one or more additional subfields 416 that describe other attributes of any other access control scheme now known or later developed. For example, subfields 416 can include additional parameters that can be used to implement a one-to-one access control scheme similar to TLS (e.g., by including a publisher's public key), or to implement any other access control scheme now known or later developed.

Obtaining Data Based on a Manifest's ACS

FIG. 5 presents a flow chart illustrating a method 500 for obtaining and decrypting a data collection based on an Access Control Specification in accordance with an embodiment. During operation, a client device can receive a request from a user for data or a data collection (operation 502), and disseminates an Interest for the data collection (operation 504). After a predetermined period of time or after receiving a Content Object, the client determines whether it has received a Content Object that satisfies the Interest (operation 506). If not, the client can return to operation 506.

When the client receives a Content Object that satisfies the Interest, the client proceeds to determine whether the Content Object is a Manifest (operation 508). If not, the client can store or otherwise use the Content Object (operation 510). However, if the Content Object is a Manifest, the client analyzes the Manifest to obtain an access control specification (ACS) from the Manifest (operation 512), and obtains secured Content Objects of the data collection according to the ACS (operation 514). The client then decrypts the Content Objects according to the ACS (operation 516), and proceeds to store or otherwise use the Content Objects (operation 510).

FIG. 6 presents a flow chart illustrating a method 600 for using an ACS to decrypt Content Objects listed in a Manifest in accordance with an embodiment. During operation, the client device obtains a list of Content Object names from the Manifest (operation 602), such as from a ListOfNames field from the Manifest's payload. The client selects a Content Object name from the list (operation 604), and obtains the Content Object over CCN by disseminating a CCN Interest that includes the Content Object's name (operation 606).

The client then determines an ACS associated with the Content Object (operation 608), and decrypts the Content Object using a decryption protocol specified in the ACS (operation 610). The client then stores or otherwise uses the decrypted Content Object (operation 612). The client then determines whether it needs to obtain another Content Object listed in the Manifest (operation 614), and if so, returns to operation 604 to select another Content Object name from the Manifest.

Traversing a Key-Chain to Retrieve a Decapsulation Keys

FIG. 7 presents a flow chart illustrating a method 700 for using a keychain specified in the ACS to decrypt Content Objects of a data collection in accordance with an embodiment. During operation, the client device can obtain an encrypted key that corresponds to the encrypted Content Object (operation 702), such as by disseminating an Interest for a nonce key identified in the NonceKeyName subfield of the ACS's AccessControlConfiguration field.

The client then obtains a decapsulation key, for decrypting the encrypted key, by following a keychain specified by the KeychainLink field of the ACS (operation 704). The client then decrypts the encrypted key, using the decapsulation key, to obtain a decryption key for the Content Object (operation 706), and decrypts the encrypted Content Object using the decryption key (operation 708).

Recall that the keychain is a Manifest that provides an ordered list of the private keys required for a user (principal). In some embodiments, the keychain Manifest has the following values in the fields of its ACS:

-   -   AccessControl: {type: Keychain},     -   EncryptionAlgorithm: The encryption algorithm with parameters         that are used to encrypt keys listed in the Manifest, such as         RSA-1024.         Also, the keychain Manifest's ListOfNames entries provide the         ordered list of names of encrypted decryption keys required for         a user.

For example, consider a group Z that is qualified to access Content Objects listed in a Manifest. A user B can gain access the Content Objects by retrieving all the keys leading to group Z. For example, user B needs to retrieve the encrypted private keys (decryption keys) of his keychain ancestors, EncPKC(SK_(X), PK_(B)) and EncPKC(SK_(Z), PK_(X)). User B also needs the encrypted decapsulation key assigned to the principal Z, EncPKC(DK_(Z), PK_(Z)). To retrieve these keys, user B first issues Interests for the keychain personalized to his private key SK_(B) by using KeychainLink of the ACS AccessControlConfiguration field to generate the Interests. In some embodiments, the KeychainLink can include aliases of a user-specific authenticator, such as a CCN name:

-   -   “lci:/parc/obj/key-chain/<user private key hash>.”         In the above CCN name, the name segment <principal private key         hash> includes an alias of a user-specific value (e.g., a hash         value of a qualified user's private key).

Then after disseminating the Interest, user B obtains a ListOfNames field and a List of Hashes field. The ListOfNames field includes the keychain with the ordered key list:

-   -   {StartChunk=1,MediaName=name of EncPKC(SK_(X), PK_(B))}     -   {StartChunk=1,MediaName=name of EncPKC(SK_(Z), PK_(X))}     -   {StartChunk=1,MediaName=name of EncPKC(DK_(Z), PK_(Z))},         The ListOfHashes field enumerates the hash values of the         keychain's chunked Content Objects. At this point, user B         retrieves the Content Objects of the encrypted keys and decrypts         the keys sequentially, starting with the leaf. If user B's         private key can decrypt the nonce key, then the list of keys in         the keychain will be empty.

The integrity and secure nature of the listed keys in a keychain can be verified and guaranteed as long as the keychain has a valid signature. Also, since a client can obtain the set of decryption keys necessary to decrypt the nonce key based on a ListOfNames filed in the keychain Manifest, the client can issue an Interest for multiple keys in parallel, which allows the client to maximize its usage of the available network bandwidth.

Recall that there are at least two access control schemes that can be implemented on top of the keychain infrastructure: a group-based access control scheme and a broadcast access control scheme. In a group-based access control scheme where a principal hierarchy exists, the encapsulation algorithm of any decapsulation key is not necessarily coupled to the algorithms used to encrypt other keys in the keychain. For example, RSA may be used to encrypt all non-root nodes in the keychain, and a different algorithm may be used to decrypt the root key. This allows different encryption algorithms to be applied at each level in the root-to-leaf path given in the keychain. The ACS specifies which algorithm applies to each level in the tree so that consumers may apply the appropriate decryption algorithm when traversing the hierarchy path. This decoupling allows any group-based access control policy to be imposed over a group-based principal hierarchy.

Also note that in some access control schemes without a principal hierarchy, such as in “flat” broadcast-based access control, a principal's public/private key pair is specific to the broadcast encryption algorithm. Hence, the nonce key is encrypted under the group public broadcast key, and the private key of each qualified principal in the group may be used to decrypt this decapsulation key.

Group-Based Access Control

A content publisher can encrypt and publish named Content Objects over the CCN network, and can also encrypt (encapsulate) random nonce keys that are used to encrypt each nonce key. In the group-based access control scheme, the content publisher allows certain groups of users (e.g., principals) to access the content simply by generating multiple (different) cyphertexts of the nonce key encrypted for different principal groups. Then, an authorized client in each group can decrypt a cyphertext by traversing a keychain. This means that the qualified principals' public keys are directly used to encrypt the nonce key and hence the decapsulation keys are qualified principals' private keys.

The published content flows across the CCN network topology from the content publisher to individual consumers by traversing core-network and Internet service provider nodes (CCN routers), and any CCN node may cache content as it flows from the producer to the consumer. The authorized clients are already assigned their public-private key pair to be used when traversing the principal hierarchy for key-chains. These keys may be distributed offline or over a secure-session with the content publisher.

A client can obtain a piece of content by issuing an Interest for a Manifest with the name associated with the content. The Manifest can include a group-based ACS that instructs the client on how to obtain the Content Objects that make up the content, as well as the nonce key for decrypting the Content Objects. As an example, the name of the data collection has the CCN prefix “lci:/parc/GE/,” and the encapsulation algorithm of keys is implemented using the RSA encryption algorithm, with a 1024-bit key as the encryption. The group-based ACS can have the following configuration:

-   -   AccessControl={type: NonceKey, encapsulationAlgorithm:         GroupBased-RSA-1024, . . . }     -   This field may include any parameters related to the         encapsulation algorithm, such as the encryption algorithm of the         principals' private keys.     -   NonceKeyName=lci:/parc/GE/NonceKey/<principal private key hash>     -   The name of the nonce key encrypted under the qualified         principals' public keys, including the alias that is specific         for each qualified principal.     -   NonceKeyId=0x********

The hash value of the (non-encrypted) nonce key.

-   -   KeychainLink: The link to the key-chain. The link can include         subfields:         -   Name=lci:/parc/GE/Keychain/<user private key hash>         -   The name of the keychain including the alias of the             user-specific value.             -   KeyIdRestriction=0x********         -   The signer's key identifier for key-chains.     -   DecapsulationKeyLink: The link to the encrypted decapsulation         key.     -   The link can include subfields “Name” and “KeyIdRestriction:”         -   Name=lci:/parc/GE/PrincipalPrivateKey/<principal         -   The name of the decapsulation key (i.e., qualified             principal's private key) encrypted under its member's public             key, including the aliases that are specific for the             qualified principal and its members.         -   KeyIdRestriction=0x********         -   The signer's key identifier for encrypted decapsulation             keys.

In some embodiments, because qualified principals' private keys may be the decapsulation keys, the DecapsulationKeyLink field can be filled with the names of their cyphertexts by using some appropriate aliases of values that are specific for qualified principals and their members.

Also, the EncryptionAlgorithm field of ACS can describe the encryption algorithm used to encrypt the content objects listed in the manifest:

-   -   EncryptionAlgorithm={encryptionAlgorithm: AES-128-CTR,         initialCounter: 0x********, . . . }.         Note that the DecapsulationKeyLink field of the         AccessControlConfiguration field in the ACS can be empty when it         is possible for the client to retrieve the keychain without         checking if the client's key store has the decapsulation key for         access control.

Broadcast Access Control

In the broadcast access control, the content publisher can qualify a certain set of principals (content consumers, or clients) to access a collection of Content Objects by encrypting the Content Objects under a random nonce key. The content publisher encapsulates the nonce key with a group-specific (principal-specific) key using broadcast encryption. Each private key qualified to decrypt the decapsulation key is associated with a qualified principal.

Similar to group-based encryption, a client can obtain a piece of content by issuing an Interest for a Manifest with the name associated with the content. As an example, the Content Objects generated by the content publisher have a name with the CCN prefix “lci:/parc/BE/,” and the encapsulation algorithm of the nonce key is implemented using the Naor-Pinkas broadcast encryption algorithm. The broadcast-based ACS can have the following configuration.

The EncryptionAlgorithm field of ACS can include the description of the encryption algorithm used to encrypt the content objects listed in the Manifest. The AccessControlConfiguration (ACC) field of the ACS can have the settings:

-   -   AccessControl={type: NonceKey, encapsulationAlgorithm:         Naor-Pinkas-BE, . . . }     -   This field may include any parameters related to the encryption         of [28].     -   NonceKeyName=lci:/parc/BE/NonceKey:     -   The name of the nonce key encrypted by the broadcast encryption         [28], where it is common to all qualified principals and         therefore does not contain aliases.     -   NonceKeyId=0x********     -   KeychainLink         -   Name=lci:/parc/BE/Keychain/<user private key hash>         -   KeyIdRestriction=0x********     -   DecapsulationKeyLink         -   Name=lci:/parc/BE/DecapsulationKey/<principal private key             hash>:             -   The name of the (encrypted) decapsulation key including                 the alias that is specific for each qualified principal.         -   KeyIdRestriction=0x********

End-to-End Access Control

Recall that in the group-based or broadcast access control schemes, the publisher encrypts content using a unique and random nonce key. However, in these schemes, it is assumed that each client has a public-private key pair as an individual principal. However, if a central key manager is to issue or certify client public-private key pairs over the network, the central key manager would need to securely send each key pair to each client (principal). In some embodiments, a client can establish a secure end-to-end communication session with a target entity (e.g., the central key manager or a publisher) over CCN, similar to a TLS session. This secure end-to-end session is hereinafter referred to as SecureSession, or a SecureSession instance.

FIG. 8 presents a flow chart illustrating a method 800 for establishing a secure end-to-end session based on an ACS in a Manifest in accordance with an embodiment. During operation, the client device can obtain an initial Manifest for a data collection (operation 802). This initial Manifest is created by the content publisher, and includes the ACS configured for a SecureSession with the publisher, and has an empty ListOfNames and ListOfHashes. The client analyzes the ACS in the initiation Manifest to obtain a public key associated with the publisher (operation 804), and uses the public key to initiate a setup protocol to initiate a new secure session with the publisher.

During a setup phase that initiates the session, the client generates a temporary key for the publisher (operation 806), and encrypts the temporary key using the publisher's public key (operation 808). The client then disseminates a setup Interest message for the publisher (operation 810), such that the setup Interest message includes the encrypted temporary key that is to be used to share the random session key between the user and publisher.

In response to the setup Interest, the publisher generates and returns a Content Object, called the setup Content Object, that includes a fresh random symmetric session key and session identifier, both of which are encrypted by the temporary key provided in the setup Interest. The setup Content Object also includes data the client can use to verify whether the session key is correctly shared between the user and publisher. For example, the verification data can include a signature computed over the concatenation of the temporary key and the session key.

The client then receives the setup Content Object (operation 812), and obtains the session key and a session identifier for a session with the publisher. The setup phase completes when the client uses the verification data in the Content Object to verify the session key.

After the setup phase the client generates and disseminates a finish Interest message for the publisher (operation 814). The finish Interest message's name includes the CCN name prefix for the publisher, and the finish Interest message includes the session identifier appended to the Interest's name or in the Interest's payload section. The publisher responds by returning a finish Content Object to finish establishing the session. The finish Content Object can include a Manifest that is called the in-session Manifest, which is personalized to the user. The in-session Manifest includes an ACS and lists of Content Objects encrypted under the session key. The client receives the finish Content Object that includes the in-session Manifest (operation 816). The client can decrypt the encrypted Content Objects using the client's session key, similar to a TLS-like secure channel that is protected via a symmetric key.

In some embodiments, if the publisher requires client authentication after the initial setup phase, the client can proceed to a resume phase with the publisher. The client disseminates a resume Interest for the publisher over CCN, such that the resume Interest includes the client's public key certificate. Then, in response to disseminating the resume Interest, the client receives a resume Content Object that includes the authentication response of the client's authentication by the publisher. For example, the authentication response can include an ACK message indicating that publisher successfully verified the client's identity, or can include a NACK message indicating that the publisher was not successful in verifying the client's identity. The publisher can also use the resume phase to refresh a timed-out session by re-using the same session identifier and session key.

In some embodiments, the client or publisher can use the SecureSession instance to bootstrap other access control schemes, such as the group-based access control scheme or the broadcast access control scheme.

SecureSession Data Objects

The following data objects provide examples for the detailed configuration of the Interests and Content Objects used during the instantiation of a SecureSession.

Initiation Manifest:

The initiation manifest of SecureSession contains an ACS with information needed to initiate the retrieval of access-controlled content as in other the access control instances. Subfields of the AccessControlConfiguration field in the ACS can have the following values:

-   -   AccessControl={Type: SecureSession, Status: Initiation,         SessionId: Null}     -   SetupLink: A link to the setup Content Object.         -   Name: The name of the setup Content Objects with a         -   “SecureSession:State” field with the value “Task: Setup and             Nonce:<nonce>,” where <nonce> is an alias of the random             nonce value.         -   For example, the Name field can include a CCN name:         -   “lci:/parc/SecureSession: State={Task: Setup,             Nonce:<nonce>}.”         -   KeyId: Signer's key identifier.     -   FinishLink: The link to the finish content object.         -   Name: The name of the finish Content Objects (e.g., the             in-session Manifest) with a “SecureSession:State” field with             the values “Task:Finish” and “SessionIdxsession id>,” where             <session id> is an alias of the session identifier. For             example, the Name field can include a CCN name:         -   “lci:/parc/SecureSession:State={Task:Finish,SessionIdxsession             id>}.”         -   KeyId: The signer's key identifier.

The EncryptionAlgorithm of the ACS specifies one or more encryption algorithms with parameters that are available at the content publisher unlike nonce-key-based schemes over the CCN access control framework. The field can be encoded in JSON, such as:

-   -   {{encryptionAlgorithm:AES-128-CTR, initialCounter: . . . },     -   {encryptionAlgorithm:AES-256-CTR, initialCounter: . . . }, . . .         }.

Setup Procedure:

After retrieving the initiation Manifest of the SecureSession, the client starts the setup phase by issuing the setup Interest over the CCN. The setup Interest has the following values in the response Content Object. In the following examples, the notation “A.B” represents the subfield B of the field A.

-   -   SetupLink.Name: The name of the initiation Manifest, for         example, with the random nonce value in <nonce>.     -   Metadata.KeyIdRestriction: SetupLink.KeyIdRestriction of the         initiation Manifest.     -   Payload: Information needed to securely share the session key,         which can be written in a type-length-value (TLV) format.         -   EncryptionAlgorithm: An algorithm that is selected from             EncryptionAlgorithm in the initiation Manifest. The selected             algorithm is used to encrypt and decrypt the Content Objects             under the shared session key.         -   TemporaryKey: A random temporary key of the             EncryptionAlgorithm given in the Interest, encrypted under             the public key of the publisher's key identifier (given in             the KeyId of the Interest).

The publisher can use the random nonce in the name to distinguish Interests issued from different users and different sessions (initiation instances). In response to receiving the setup Interest, the publisher issues the setup Content Object that has the following values:

-   -   Name: A name of the setup Interest.     -   Metadata.ContentType: Data.     -   Payload: Information necessary to securely share the session         key, which can be written in the TLV format.         -   HandshakeMessage: A value of “Completed” indicates to move             to the finish phase, and a value of “Rejected” indicates the             rejection of the connection request. If the publisher needs             the optional user authentication, the value is set to             “AuthenticationRequest.”         -   ResumeLink: The link to the finish content object. This             field has a non-NULL value only if HandshakeMessage is             “AuthenticationRequest.” The Link can include a Name             subfield and a KeyId subfield.             -   * Name: The name of the resume Content Objects, such                 that the “SecureSession:State” field has the values                 “Task:Finish” and “SessionId:<session id>,” and where                 “<session id>” is an alias of the session identifier.                 For example, the Name can include the CCN name:             -   “lci:/parc/SecureSession:State={Task:Resume,SessionId:<session                 id>}”             -   * KeyId: The signer's key identifier.         -   SessionId: The hash of the plaintext session key.         -   SessionKey: The session key encrypted by the selected             EncryptionAlgorithm under the TemporaryKey.         -   VerifyData: The SHA-256 message digest given as:             -   Hash(Plaintext Session Key II Selected                 EncryptionAlgorithm∥KeyId of this content object),             -   encrypted under the temporary key.                 Note that this setup Content Object needs to have the                 valid signature signed by the publisher with the key                 identifier indicated in the KeyId in the setup Interest.                 The client can use the VerifyData field to check the                 integrity of the decrypted (plaintext) session key.

Finishing the Initiation, and In-Session Manifests:

In order to finalize the initiation flow, the client first verifies the VerifyData value by calculating the hash:

-   -   Hash(Plaintext Session Key II Selected EncryptionAlgorithm∥KeyId         of this content object)         If the result of the calculation is equal to the VerifyData         value in the setup Content Object, the session key is deemed to         be correctly shared between the client and publisher, and the         parties can therefore move to the finish phase. Otherwise, the         setup Content Object is discarded since the session data is         corrupt.

As the first step of the finish phase, the client disseminates the finish Interest that notifies the publisher that the client successfully verified the VerifyData value, and requests the finish Content Object (e.g., the in-session Manifest). The Name field corresponds to:

-   -   “lci:/parc/SecureSession:State={Task:Finish,SessionId:<session         id>}”         with the session Identifier as the value of the alias <session         id>. Also, the finish Interest has the KeyId specified in the         FinishLink of the initiation Manifest.

In the response to receiving the finish Interest, the publisher returns the in-session Manifest as the finish content object. The in-session manifests of SecureSession are the standard manifest that list the names and hash values of Content Objects encrypted under the shared session key. By referring to the in-session Manifest, the client can securely retrieve content from the publisher through the secure channel protected by the session key.

Optional User Authentication:

Here we give a detailed description of the resume Interest and resume Content Object used for user authentication in SecureSession instances. If the “HandshakeMessage” field of the setup Content Object has the “AuthenticationRequest” value, the client disseminates a resume Interest for the publisher that has the following values:

-   -   Name=ResumeLink.Name of the setup Content Object with the         session Identifier in <session id>, such as the Name:         -   “lci:/parc/SecureSession:State={Task:Resume,SessionId:<session             id>}”     -   Metadata.KeyIdRestriction=ResumeLink.KeyIdRestriction of the         setup Content Object.     -   Payload: Information required to authenticate the user, written         in the TLV format. The Payload can include the following         subfields:         -   ClientPulicKeyCertificate: The client's public key             certificate if this Interest has a signature in the             validation data. Otherwise, it is Null.         -   EncryptedPublicKeyCertificate: The client's public key             certificate encrypted under the session key if this interest             does not have a signature. Otherwise, it is Null.

If the resume Interest does not have a signature, we can check the integrity and unforgeability of the client's public key certificate by encrypting it using the session key securely shared with the publisher.

As the response to the resume Interest, the publisher issues the resume Content Object that has the HandshakeMessage subfield in the Payload. The HandshakeMessage subfield can include the “Completed” value or the “Rejected” value.

Access Control (AC) Application Programming Interface (API)

In some embodiments, a CCN network node can include a CCN network stack that manages the Interest and Content Object messages that flow in and out of the network node. Local applications can create a stack that processes CCN messages in a desired way, such as to perform encryption, flow-control, or any other message-processing operations on the CCN messages.

FIG. 9 illustrates an exemplary transport framework 900 in accordance with embodiments of the present invention. A CCN node implements “transport framework” 900 which can dynamically configure a custom stack 904 to satisfy an application's custom “environment execution context.” Custom stack 904 can process packets to and/or from a forwarder 906 or any application running on the CCN node, and the stack's components can include any available components that can be organized in any order to satisfy the application's requirements.

In some embodiments, transport framework 900 can include a set of stack-configuring agents that can dynamically configure a stack on-demand. For example, transport framework 900 can include a set of transport API components 902 that implement functions accessible via a library and/or an API. An application can access an API implemented by transport framework 900 by issuing a call to transport framework 900. Transport framework 900 then maps the API call to a corresponding API component of components 902 that implements this specific function, and forwards the API call to this API component.

If a stack doesn't exist for processing the API call, the API component can configure or instantiates a custom stack that can perform the application's API call. For example, the API component can issue a request to transport framework 900, with a request describing the functionality of the custom stack. This functionality description can be high-level, such as to specify a pre-defined behavior or operation that is to be performed on data packets. Transport framework 900 then realizes this behavior or operation by organizing the necessary components into a custom stack 902 (e.g., in custom stack components) in an order that achieves the desired behavior or operation.

Alternatively, the functionality description can be low-level, such as to specify the specific stack components that are to be used, and can specify an order in which the stack components are to be arranged. Moreover, the functionality description can also be specific or generic with respect to the individual components, for example, to request a specific “security component” (e.g., a PKI verification component) or to request any “verification component.”

In some embodiments, transport API components can include a Portal API, which provides a set of functions for writing and reading both Interests and Content Objects to and from a stack. Structurally, Interest messages (e.g., CCNxInterest) and Content Object messages (e.g., CCNxContentObject) have a similar data structure. Hence, in some embodiments, the Portal API wraps CCNxInterest and CCNxContentObject instances in CCNxMessage containers, which are then used in various Portal API functions, such as ccnxPortal Read(CCNxMessage *msg) and ccnxPortal Write(CCNxMessage *msg) to read or write messages from and to the transport stack, respectively. Along with the ability to listen for Interests with a particular name prefix, these functions provide the functionality for publishing and retrieving Content Objects via Interest messages.

In some embodiments, transport API components 902 also include an Access Control API built on top of the Portal API, and includes a ProtectedPortal API. The Access Control API allows consumers to access protected content and allows publishers to publish and control access to specific content. Consumers and publishers interface directly with the ProtectedPortal API to create a “protected” transport stack (e.g., stack 904) that transparently handles all access-control-related functionality.

The ProtectedPortal API is instantiated by both consumer and publisher applications with a given set of identities. For a consumer, an identity may wrap a PKCS#12 certificate and private key bundle so as to be able to decrypt Content Object payloads, if necessary. Similarly, a publisher can use a PKCS#12 bundle to sign an egress Content Object generated in response to receiving an Interest message. Other cryptographic keys, such as those used in broadcast access control or proxy re-encryption schemes, may be contained within PKCS#12 files as well. Since a user may manage these keys via separate files, the ProtectedPortal accepts sets of identities at instantiation and at runtime.

Consumer API Sketch

The consumer portion of the ProtectedPortal API extends the underlying Portal API with the functions listed in Table 1. The ProtectedPortal uses information returned in a Content Object Manifest to obtain the appropriate decryption keys to decrypt the nonce key with the correct cryptographic algorithms. Once the ProtectedPortal retrieves the decryption keys, the ProtectedPortal then uses the nonce key to decrypt the content payload for the consumer. The ProtectedPortal performs iterative decryption key resolution and content decryption processes (e.g., SecureSession) internally, and does not expose these processes to the consumer to allow software developers to easily integrate these features into their applications.

TABLE 1 Consumer ProtectedPortal API functions CCNxMessage *ccnxProtectedPortal Read(CCNxName *msg) - Issue an interest for the content object identified by the given name and, if protected, decrypt and return the resulting payload in the CCNxMessage payload. CCNxMessage *ccnxProtectedPortal ReadManifest(CCNxName *msg) - Issue an interest for the content object identified by the given name and, if protected, return the content object's manifest serialized within the CCNxMessage payload. CCNxMessage *ccnxProtectedPortal ReadByManifest(CCNxManifest *msg) - Issue an interest for the content object associated with the given manifest, and return the decrypted content object payload within the CCNxMessage payload.

Publisher API Sketch

In some embodiments, transport API components 902 can include a publisher API that can communicate with and/or control various components of an access control system, such as a distribution server (a Content Store, or a repository), an encryption server, an access policy manager, and a metering server. After instantiating a transport stack 904 for each component, a proxy for each component is instantiated at the top of stack 904 in order to control their respective systems. For example, a key manager proxy component is instantiated at the top of a key manager transport stack, and may communicate with a local key manager application on the local operating system or a remote application via CCN Messages (e.g., by disseminating a CCN Interest to query the key manager, and receiving a Content Object as a response from the key manager). The publisher API implements this communication on behalf of the publisher, and abstracts this communication mechanism away from the publisher APIs.

The functions available via the publisher API are listed in Table 2. The publisher API is accessible via any entity of the access control system, such as the distribution server (a Content Store, or a repository), encryption server, access policy manager, and/or metering server. Once instantiated, a publisher ProtectedPortal instance exposes handles to each of these entities of the access control system so that the application may dynamically create content, change access policies and permissions, and serve protected content and Manifests for consumers. Additionally, after the publisher API is instantiated, each entity creates a transport stack (e.g., stack 904) for a specified namespace so that the consumer ProtectedPortal may issue Interests to communicate with other entities of the access control system. For example, the CCNxAccessControlManagerProxy stack component can listen on the “lci:/parc/csl/acm/” namespace, and consumers requesting content decryption keys can issue Interests with a name derived from the name template “lci:/parc/csl/acmkcontent name>/<principal id>” to obtain keys necessary to decrypt the nonce key. Also, for session-based access control, the publisher ProtectedPortal stack component can handle the creation and maintenance of DTLS session information on behalf of its local entity.

TABLE 2 Publisher ProtectedPortal API and related proxy functions. CCNxContentStoreProxy: Proxy for the content store and distribution server   UploadContent(. . .) - Upload an unprotected content object to a specified   namespace.   UploadProtectedContent(. . .) - Upload a protected content object and   corresponding manifest to a specified namespace. CCNxAccessControlManagerProxy: Proxy for the access control manager   SetAccessControlType(. . .) - Set the access control type for the given   manifest.   RevokePrincipalFromContent(. . .) - Remove a specified principal,   represented by an identity, from access to the specified protected content   object.   AddPrincipalToContent(. . .) - Add a specified principal, represented by an   identity, from access to the specified protected content object. CCNxKeyManagerProxy: Proxy for the (content and secret) key manager   GenerateContentKey(. . .) - Generate a content encryption (nonce) key for a   piece of content with the given name.   GenerateSecretKey(. . .) - Generate a secret key for the given principal. This   requires communication with the CCNxAccessControlManagerProxy   to obtain the access control configuration details (e.g., broadcast group   information). CCNxEncryptionServerProxy: Proxy for the encryption (encapsulation) server   EncryptContent((. . .)) - Encrypt a specified content object with the given   nonce key.   EncryptKey((. . .)) - Encrypt a specified nonce key for a specified principal list.   This requires communication with the CCNxAccessControlManagerProxy   to obtain the access control configuration details (e.g., broadcast group   information).

FIG. 10 illustrates an exemplary apparatus 1000 that facilitates publishing and accessing a collection of data in encrypted form in accordance with an embodiment. Apparatus 1000 can comprise a plurality of modules which may communicate with one another via a wired or wireless communication channel. Apparatus 1000 may be realized using one or more integrated circuits, and may include fewer or more modules than those shown in FIG. 10. Further, apparatus 1000 may be integrated in a computer system, or realized as a separate device which is capable of communicating with other computer systems and/or devices. Specifically, apparatus 1000 can comprise a communication module 1002, a Manifest-processing module 1004, an access-control module 1006, and a security module 1008.

In some embodiments, communication module 1002 can obtain a Manifest for a collection of data, and can obtain a set of encrypted Content Objects listed in the Manifest. Manifest-processing module 1004 can parse the Manifest to obtain an Access Control Specification (ACS) associated with an encrypted Content Object. Access-control module 1006 can process the ACS to obtain the appropriate decryption key for decrypting the Content Object. Security module 1008 can decrypt the Content Object using the decryption key.

FIG. 11 illustrates an exemplary computer system 1102 that facilitates publishing and accessing a collection of data in encrypted form in accordance with an embodiment. Computer system 1102 includes a processor 1104, a memory 1106, and a storage device 1108. Memory 1106 can include a volatile memory (e.g., RAM) that serves as a managed memory, and can be used to store one or more memory pools. Furthermore, computer system 1102 can be coupled to a display device 1110, a keyboard 1112, and a pointing device 1114. Storage device 1108 can store operating system 1116, an access control system 1118, and data 1128.

Access control system 1118 can include instructions, which when executed by computer system 1102, can cause computer system 1102 to perform methods and/or processes described in this disclosure. Specifically, access control system 1118 may include instructions for obtaining a Manifest for a collection of data, and can obtain a set of encrypted Content Objects listed in the Manifest (communication module 1120). Further, access control system 1118 can include instructions for parsing the Manifest to obtain an Access Control Specification (ACS) associated with an encrypted Content Object (Manifest-processing module 1122).

Access control system 1118 can also include instructions for processing the ACS to obtain the appropriate decryption key for decrypting the Content Object (access-control module 1124), and can also include instructions for decrypting the Content Object using the decryption key (security module 1126).

Data 1128 can include any data that is required as input or that is generated as output by the methods and/or processes described in this disclosure. Specifically, data 1128 can store at least a Manifest, an ACS from the Manifest, and security information and/or session information associated with a publisher.

The data structures and code described in this detailed description are typically stored on a computer-readable storage medium, which may be any device or medium that can store code and/or data for use by a computer system. The computer-readable storage medium includes, but is not limited to, volatile memory, non-volatile memory, magnetic and optical storage devices such as disk drives, magnetic tape, CDs (compact discs), DVDs (digital versatile discs or digital video discs), or other media capable of storing computer-readable media now known or later developed.

The methods and processes described in the detailed description section can be embodied as code and/or data, which can be stored in a computer-readable storage medium as described above. When a computer system reads and executes the code and/or data stored on the computer-readable storage medium, the computer system performs the methods and processes embodied as data structures and code and stored within the computer-readable storage medium.

Furthermore, the methods and processes described above can be included in hardware modules. For example, the hardware modules can include, but are not limited to, application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs), and other programmable-logic devices now known or later developed. When the hardware modules are activated, the hardware modules perform the methods and processes included within the hardware modules.

The foregoing descriptions of embodiments of the present invention have been presented for purposes of illustration and description only. They are not intended to be exhaustive or to limit the present invention to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. Additionally, the above disclosure is not intended to limit the present invention. The scope of the present invention is defined by the appended claims. 

What is claimed is:
 1. A computer-implemented method, comprising: obtaining, by a computing device, a Manifest object for a data collection, wherein the Manifest includes references to a set of encrypted Content Objects of the data collection, and includes one or more Access Control Specification (ACS) that each specifies a decryption protocol for decrypting one or more Content Objects of the data collection; obtaining a respective encrypted Content Object listed in the Manifest over an Information Centric Network (ICN); obtaining, by the computing device from the Manifest, an ACS associated with the respective encrypted Content Object; and decrypting, by the computing device, the respective encrypted Content Object using the decryption protocol specified in the ACS.
 2. The method of claim 1, further comprising: disseminating an Interest for the data collection over ICN; and responsive to disseminating the Interest, receiving the Manifest object over ICN.
 3. The method of claim 1, wherein the Manifest includes a respective ACS by reference, and wherein obtaining the ACS involves: obtaining, from the Manifest, a name prefix associated with the ACS; disseminating, over ICN, an Interest whose name includes the name prefix; and responsive to disseminating the Interest, receiving a Content Object that includes the ACS.
 4. The method of claim 1, wherein decrypting the encrypted Content Object involves: obtaining an encrypted key that corresponds to the encrypted Content Object; obtaining a decapsulation key by performing the decryption protocol specified in the ACS; decrypting the encrypted key, using the decapsulation key, to obtain a decryption key; and decrypting the encrypted Content Object using the decryption key.
 5. The method of claim 4, wherein obtaining the decapsulation key involves: obtaining a decapsulation-key name which identifies the decapsulation key; following a keychain until a key node identified by the decapsulation-key name is reached, wherein a respective key node of the keychain includes a decryption key in encrypted form, and wherein the decryption key is capable of decrypting a decryption key of a next key node of the keychain; and obtaining the decapsulation key from the identified key node.
 6. The method of claim 5, wherein the decryption keys are encrypted using one or more of: a group-based encryption scheme; and a broadcast encryption scheme.
 7. A computer-implemented method, comprising: obtaining, by a computing device, an initiation Manifest object for a data collection, wherein the initiation Manifest includes an Access Control Specification (ACS) that specifies an end-to-end access control scheme for obtaining and decrypting one or more Content Objects of the data collection; obtaining a public key of a publisher from the ACS in the initiation Manifest; determining, by the computing device from the ACS, an encryption algorithm for a session with the publisher; disseminating a setup Interest message for the publisher, wherein the setup Interest message includes a temporary key encrypted using the determined encryption algorithm and the publisher's public key; receiving a setup Content Object that satisfies the setup Interest message, wherein the setup Content Object includes a session key and a session identifier; disseminating a finish Interest message for the publisher, wherein the finish Interest message includes the session identifier; and receiving an in-session Manifest that satisfies the finish Interest message, wherein the in-session Manifest includes references to one or more Content Objects of the data collection that are encrypted using the session key.
 8. The method of claim 7, further comprising: obtaining verification data from the setup Content Object; verifying the session key using the verification data; and in response to determining that the session key is valid, disseminating the finish Interest message.
 9. The method of claim 7, wherein verifying the session key involves: computing a hash from one or more of the session key, a key identifier, and an identifier for the determined encryption algorithm; and comparing the computed hash to the verification data.
 10. The method of claim 7, further comprising: obtaining a respective Content Object listed in the in-session Manifest over an Information Centric Network (ICN); and decrypting the respective Content Object using the session key.
 11. A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method, the method comprising: obtaining a Manifest object for a data collection, wherein the Manifest includes references to a set of encrypted Content Objects of the data collection, and includes one or more Access Control Specification (ACS) that each specifies a decryption protocol for decrypting one or more Content Objects of the data collection; obtaining a respective encrypted Content Object listed in the Manifest over an Information Centric Network (ICN); obtaining, by the computing device from the Manifest, an ACS associated with the respective encrypted Content Object; and decrypting the respective encrypted Content Object using the decryption protocol specified in the ACS.
 12. The storage medium of claim 11, further comprising: disseminating an Interest for the data collection over ICN; and responsive to disseminating the Interest, receiving the Manifest object over ICN.
 13. The storage medium of claim 11, wherein the Manifest includes a respective ACS by reference, and wherein obtaining the ACS involves: obtaining, from the Manifest, a name prefix associated with the ACS; disseminating, over ICN, an Interest whose name includes the name prefix; and responsive to disseminating the Interest, receiving a Content Object that includes the ACS.
 14. The storage medium of claim 11, wherein decrypting the encrypted Content Object involves: obtaining an encrypted key that corresponds to the encrypted Content Object; obtaining a decapsulation key by performing the decryption protocol specified in the ACS; decrypting the encrypted key, using the decapsulation key, to obtain a decryption key; and decrypting the encrypted Content Object using the decryption key.
 15. The storage medium of claim 14, wherein obtaining the decapsulation key involves: obtaining a decapsulation-key name which identifies the decapsulation key; following a keychain until a key node identified by the decapsulation-key name is reached, wherein a respective key node of the keychain includes a decryption key in encrypted form, and wherein the decryption key is capable of decrypting a decryption key of a next key node of the keychain; and obtaining the decapsulation key from the identified key node.
 16. The storage medium of claim 15, wherein the decryption keys are encrypted using one or more of: a group-based encryption scheme; and a broadcast encryption scheme.
 17. A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method, the method comprising: obtaining an initiation Manifest object for a data collection, wherein the initiation Manifest includes an Access Control Specification (ACS) that specifies an end-to-end access control scheme for obtaining and decrypting one or more Content Objects of the data collection; obtaining a public key of a publisher from the ACS in the initiation Manifest; determining, from the ACS, an encryption algorithm for a session with the publisher; disseminating a setup Interest message for the publisher, wherein the setup Interest message includes a temporary key encrypted using the determined encryption algorithm and the publisher's public key; receiving a setup Content Object that satisfies the setup Interest message, wherein the setup Content Object includes a session key and a session identifier; disseminating a finish Interest message for the publisher, wherein the finish Interest message includes the session identifier; and receiving an in-session Manifest that satisfies the finish Interest message, wherein the in-session Manifest includes references to one or more Content Objects of the data collection that are encrypted using the session key.
 18. The storage medium of claim 17, further comprising: obtaining verification data from the setup Content Object; verifying the session key using the verification data; and in response to determining that the session key is valid, disseminating the finish Interest message.
 19. The storage medium of claim 17, wherein verifying the session key involves: computing a hash from one or more of the session key, a key identifier, and an identifier for the determined encryption algorithm; and comparing the computed hash to the verification data.
 20. The storage medium of claim 17, further comprising: obtaining a respective Content Object listed in the in-session Manifest over an Information Centric Network (ICN); and decrypting the respective Content Object using the session key. 